	/**
	 * @param {Object} 变压器操作记录页面处理
	 */
	function getPageSet(){
		return pageSet;
	}
	const pageSet = {
		pageTypeSet : function(that){
			//新增
			if("0" == that.pageType){
				return;
			}
			//编辑 详情
			if(1 == that.pageType || 2 == that.pageType){
				that.operateName = "[" + that.pageParam.operateStaffCode + "]"+that.pageParam.operateStaffName;
				that.tutelageName = "[" + that.pageParam.tutelageStaffCode + "]"+that.pageParam.tutelageStaffName
				getTransFormList(that);
				return
			}
			//办理
			if(3 == that.pageType){
				getTransFormList(that);
				return
			}
		}
	}

	//根据不通的页面类型获取数据
	function getTransFormList(that){
		let params = {}
		let url;
		if(that.pageType == '3' || that.pageType == '1'){
			if(null != that.pageParam.workId){
				//处理 详情
				let config = mui.neioConfig.getNeioConfig();
				url = config.URL.queryTransInfoByWorkId;
				params.workId = that.pageParam.workId;
				that.getDataFromWorkId(url,params);
				return;
			}
			if(null == that.pageParam.workId){
				//处理 详情
				let config = mui.neioConfig.getNeioConfig();
				url = config.URL.queryTransInfoById;
				params.transOperateId = that.pageParam.transOperateId;
				that.getDataFromtransOperateId(url,params);
				return;
			}
					
		}
		
		if(that.pageType == '0' || that.pageType == '2'){
			//编辑 新增
			let config = mui.neioConfig.getNeioConfig();
			url = config.URL.queryTransInfoById;
			params.transOperateId = that.pageParam.transOperateId;
			that.getDataFromtransOperateId(url,params);
			return;
		}
		
	}